#ifndef STUDENTDATA_H
#define STUDENTDATA_H

#include <QString>

class StudentData {
public:
    StudentData();
    void setStuNum(const QString& stuNum) { m_StuNum = stuNum; }
    void setStuName(const QString& stuName) { m_StuName = stuName; }
    void setStuSex(const QString& stuSex) { m_StuSex = stuSex; }
    void setStuGradeNum(const QString& stuClasssNum) { m_StuGradeNum = stuClasssNum; }
    void setStuHeight(const QString& stuHeight) { m_StuHeight = stuHeight+"kg"; }
    QString getStuName() const { return m_StuName; }
    QString getStuNum() const { return m_StuNum; }
    QString getStuSex() const { return m_StuSex; }
    QString getStuGradeNum() const { return m_StuGradeNum; }
    QString getStuHeight() const { return m_StuHeight; }

private:
    QString m_StuNum;
    QString m_StuName;
    QString m_StuSex;
    QString m_StuGradeNum;
    QString m_StuHeight;
};

#endif // STUDENTDATA_H
